package jp.co.hcs.attendancemanagement.inputtableb.logic.dto;

/**
 * The Class WorkDayDTO.
 */
public class WorkDayDTO {

  /** The change value flag. */
  private boolean changeValueFlag;

  /** The day number. */
  private String dayNumber;

  /** The day name. */
  private String dayName;

  /** The work time. */
  private String workTime;

  /** The old work time. */
  private String oldWorkTime;

  /** The b add. */
  private boolean bAdd;
  // private boolean bDelete;
  // private boolean bEdit;
  /** The b disable. */
  private boolean bDisable;

  /** The b holiday. */
  private boolean bHoliday;

  /**
   * Gets the day number.
   * 
   * @return the day number
   */
  public String getDayNumber() {
    return dayNumber;
  }

  /**
   * Sets the day number.
   * 
   * @param dayNumber the new day number
   */
  public void setDayNumber(String dayNumber) {
    this.dayNumber = dayNumber;
  }

  /**
   * Checks if is b add.
   * 
   * @return true, if is b add
   */
  public boolean isbAdd() {
    return bAdd;
  }

  /**
   * Sets the b add.
   * 
   * @param bAdd the new b add
   */
  public void setbAdd(boolean bAdd) {
    this.bAdd = bAdd;
  }

  // public boolean isbDelete() {
  // return bDelete;
  // }
  // public void setbDelete(boolean bDelete) {
  // this.bDelete = bDelete;
  // }
  // public boolean isbEdit() {
  // return bEdit;
  // }
  // public void setbEdit(boolean bEdit) {
  // this.bEdit = bEdit;
  // }
  /**
   * Gets the work time.
   * 
   * @return the work time
   */
  public String getWorkTime() {
    return workTime;
  }

  /**
   * Sets the work time.
   * 
   * @param workTime the new work time
   */
  public void setWorkTime(String workTime) {
    // if(this.workTime != null)
    // {
    // if(!this.workTime.equals(workTime))
    // {
    // changeValueFlag = true;
    // }
    // }
    // else if(this.workTime != null && workTime!= null && workTime.length() >
    // 0)
    // {
    // changeValueFlag = true;
    // }
    this.workTime = workTime;
  }

  /**
   * Gets the day name.
   * 
   * @return the day name
   */
  public String getDayName() {
    return dayName;
  }

  /**
   * Sets the day name.
   * 
   * @param dayName the new day name
   */
  public void setDayName(String dayName) {
    this.dayName = dayName;
  }

  /**
   * Checks if is b changed.
   * 
   * @return true, if is b changed
   */
  public boolean isbChanged() {
    return changeValueFlag;
  }

  /**
   * Sets the b changed.
   * 
   * @param bChanged the new b changed
   */
  public void setbChanged(boolean bChanged) {
    this.changeValueFlag = bChanged;
  }

  /**
   * Checks if is b disable.
   * 
   * @return true, if is b disable
   */
  public boolean isbDisable() {
    return bDisable;
  }

  /**
   * Sets the b disable.
   * 
   * @param bDisable the new b disable
   */
  public void setbDisable(boolean bDisable) {
    this.bDisable = bDisable;
  }

  /**
   * Checks if is b holiday.
   * 
   * @return true, if is b holiday
   */
  public boolean isbHoliday() {
    return bHoliday;
  }

  /**
   * Sets the b holiday.
   * 
   * @param bHoliday the new b holiday
   */
  public void setbHoliday(boolean bHoliday) {
    this.bHoliday = bHoliday;
  }

  /**
   * Gets the old work time.
   * 
   * @return the old work time
   */
  public String getOldWorkTime() {
    return oldWorkTime;
  }

  /**
   * Sets the old work time.
   * 
   * @param oldWorkTime the new old work time
   */
  public void setOldWorkTime(String oldWorkTime) {
    this.oldWorkTime = oldWorkTime;
  }
}
